package parsetree;

import javax.swing.text.BadLocationException;



public interface ElementFactory {
    
    @SuppressWarnings("unchecked")
    public abstract Element generateElement(BranchElement parent,
            int operatorStart, int operatorEnd) throws BadLocationException;
    
}